//package com.qifenqian.turbot.deprecated.model
//
//import android.content.Context
//import com.qifenqian.turbot.base.BaseModel
//import com.qifenqian.turbot.deprecated.contract.SettingContract
//import com.qifenqian.turbot.module.entity.response.VersionEntity
//import com.qifenqian.turbot.net.ModelCallback
//import com.qifenqian.turbot.net.NetObserver
//
///**
// * @author H
// * @createTime 2018/12/13 16:20
// * @description
// * @see
// * @since
// */
//@Deprecated("Account")
//class SettingModel(context: Context) : BaseModel(context), SettingContract.Model {
//
//    override fun checkVersion(callback: ModelCallback<VersionEntity>?) {
//        mClient!!.checkVersion()
//                .subscribe(object : NetObserver<VersionEntity>(mContext, false) {
//                    override fun onSuccess(msg: String?, t: VersionEntity?) {
//                        callback!!.onSuccess(msg, t)
//                    }
//
//                    override fun onFailure(code: Int, msg: String?) {
//                        callback!!.onFailure(code, msg)
//                    }
//
//                })
//    }
//
//}
